import 'package:json_annotation/json_annotation.dart';

part 'card_model.g.dart';


@JsonSerializable()
class CardModel extends Object {

  int Id;

  String CardId;

  String CardNo;

  int Balance;

  int Reward;

  String LevelName;

  bool IsDefault;

  bool IsLocked;

  int Discount;

  CardModel(this.Id,this.CardId,this.CardNo,this.Balance,this.Reward,this.LevelName,this.IsDefault,this.IsLocked,this.Discount,);

  factory CardModel.fromJson(Map<String, dynamic> srcJson) => _$CardModelFromJson(srcJson);

  Map<String, dynamic> toJson() => _$CardModelToJson(this);

}


